<?php
/**
 * Created by PhpStorm.
 * User: houju
 * Date: 2015/9/17
 * Time: 20:46
 */
namespace Pub\Controller;
use Think\Controller;

class CodeController extends Controller {
    Public function code(){	
        $Verify = new \Think\Verify();
        $Verify->entry();
    }
    Public function checkCode($code, $id = ''){
        $verify = new \Think\Verify();
        return $verify->check($code, $id);
    }
}